package com.lottery.material.enumeration.message;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：系统消息信息枚举类
 * Created by 朱正磊 on 2019-04-15 16:53
 */
@Getter
public enum SystemMessageInfoEnum implements BaseEnum {

    // 是否注册用户时自动推送（1：否；2：是）
    IS_REGISTER_PUSH_FALSE("IS_REGISTER_PUSH", 1, "否"),
    IS_REGISTER_PUSH_TRUE("IS_REGISTER_PUSH", 2, "是"),

    // 发送状态（1：待发送；2：已发送）
    SEND_STATE_TO_BE_SENT("SEND_STATE", 1, "待发送"),
    SEND_STATE_HAS_BEEN_SENT("SEND_STATE", 2, "已发送"),
    ;

    private String code;
    private Object value;
    private String description;

    SystemMessageInfoEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String IS_REGISTER_PUSH = "IS_REGISTER_PUSH";
    public static final String SEND_STATE = "SEND_STATE";

}
